Abstract

This is a surface plot to demonstrate the features in the Plotly package.

Libraries Used

library(plotly)
library(png)

Image Points Dataset

This is a dataset, from the PNG image smiley.png

image <- readPNG("smiley.png")

Surface Plot

plot_ly(z = ~image, type = "surface")